//
// Created by xiaoyao on 24-11-2.
//
#include <stdio.h>

#include "fram_mange.h"

unsigned char testbufof[1024] = {0};

struct FRAM_DATA_INFO_S framinfo = {
    .addrstart = 0,
    .datlen = 0x32,
    .backupinfolen = 16,
    .backupvaluable = 1,

};

int main(int argc, char **argv)
{
    framwrite(&framinfo, 4, "hello", 6);

    framread(&framinfo, 4, testbufof, 6);
    fflush(stdout);
    return 0;
}
